package com.itheima.Thraed.CreateThread;

public class demo03 {
    public static void main(String[] args) {
        // runnable的lmbad写法
        Runnable r = () ->{
            System.out.println("main thread started");
        };
        Thread t = new Thread(r, "demo03");
        t.start();
    }
}
